<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">



    <h:head>
        <title>Title</title>
        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/style.css" />
    </h:head>
    <h:body>
        <h:form id="myForm">
            <p>Here goes your view-specific content.</p>
            <p:panel id="panel5">
                <h3>p:selectOneMenu</h3>
                <h:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="Choose One ..." />  

                    <p:selectOneMenu id="selectOneBeanId01" style="width:200px" value="#{selectOneBean.selectedId}" >  
                        <f:selectItems value="#{selectOneBean.selectableItems}" 
                                       var="it" 
                                       itemLabel="#{it.label}" 
                                       itemValue="#{it.id}" />  
                        <p:ajax />
                    </p:selectOneMenu>     


                </h:panelGrid>
            </p:panel>           
        </h:form>
    </h:body>        

</html>